package org.jeecg.modules.bobo.common.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 业务运行日志
 * @Author: jeecg-boot
 * @Date:   2020-11-23
 * @Version: V1.0
 */
@Data
@TableName("lb_auto_service_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lb_auto_service_log对象", description="业务运行日志")
public class LbAutoServiceLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**日志类型（1his日志，2微信日志）*/
	@Excel(name = "日志类型（1his日志，2微信日志）", width = 15)
    @ApiModelProperty(value = "日志类型（1his日志，2微信日志）")
    private String logType;
	/**日志内容*/
	@Excel(name = "日志内容", width = 15)
    @ApiModelProperty(value = "日志内容")
    private String logContent;
	/**操作用户账号*/
	@Excel(name = "操作用户账号", width = 15)
    @ApiModelProperty(value = "操作用户账号")
    private String user;
	/**IP*/
	@Excel(name = "IP", width = 15)
    @ApiModelProperty(value = "IP")
    private String ip;
	/**请求java方法*/
	@Excel(name = "请求java方法", width = 15)
    @ApiModelProperty(value = "请求java方法")
    private String method;
	/**请求路径*/
	@Excel(name = "请求路径", width = 15)
    @ApiModelProperty(value = "请求路径")
    private String requestUrl;
	/**请求参数*/
	@Excel(name = "请求参数", width = 15)
    @ApiModelProperty(value = "请求参数")
    private String requestParam;
	/**请求类型*/
	@Excel(name = "请求类型", width = 15)
    @ApiModelProperty(value = "请求类型")
    private String requestType;
	/**耗时*/
	@Excel(name = "耗时", width = 15)
    @ApiModelProperty(value = "耗时")
    private Integer costTime;
	/**请求时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "请求时间")
    private Date createTime;
}
